package rocket.server;

import rocket.logs.Write;
import rocket.logs.WriteType;
/**
 * 
 * @author justin
 * @version
 *
 */
public class InvalidAccessException extends Throwable{

	private static final long serialVersionUID = 4196070936221311797L;

	@Override
	public String toString() {
		writeLog("Invalid Access Level");	//perhaps add a user here so we can see who did it
		return "Invalid Access Level";
	}

	public void writeLog(String s){
		new Write(WriteType.AUTH, s);
	}
}
